package sudroid.android;

import android.location.LocationListener;
import android.location.LocationManager;
import java.util.List;
import sudroid.DataStructureUtil;

public class LocationManagerUtil
{
  public static String getBestLocationPro(LocationManager paramLocationManager)
  {
    List localList = paramLocationManager.getProviders(1);
    String str;
    if (DataStructureUtil.isEmptyOrNull(localList))
      str = null;
    while (true)
    {
      return str;
      if (localList.contains("network"))
      {
        str = "network";
        continue;
      }
      if (localList.contains("gps"))
      {
        str = "gps";
        continue;
      }
      str = null;
    }
  }

  public static void safelyRemove(LocationManager paramLocationManager, LocationListener paramLocationListener)
  {
    if (paramLocationListener != null)
      paramLocationManager.removeUpdates(paramLocationListener);
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     sudroid.android.LocationManagerUtil
 * JD-Core Version:    0.6.0
 */